func go/types.allInteger
14 uses
go/types (current package)
expr.go#L68: token.XOR: allInteger,
expr.go#L161: if !allInteger(x.typ) {
expr.go#L352: if !allInteger(typ) {
expr.go#L625: if allInteger(x.typ) || isUntyped(x.typ) && xval != nil && xval.Kind() == constant.Int {
expr.go#L662: case allInteger(y.typ):
expr.go#L747: if !allInteger(x.typ) {
expr.go#L765: token.REM: allInteger,
expr.go#L767: token.AND: allInteger,
expr.go#L768: token.OR: allInteger,
expr.go#L769: token.XOR: allInteger,
expr.go#L770: token.AND_NOT: allInteger,
expr.go#L834: if (x.mode == constant_ || allInteger(x.typ)) && y.mode == constant_ && constant.Sign(y.val) == 0 {
index.go#L430: if !allInteger(x.typ) {
predicates.go#L47: func allInteger(t Type) bool { return allBasic(t, IsInteger) }
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)